.migration-site-ssh__accordion-ctas {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	align-items: center;
}

.migration-site-ssh__accordion {
	display: flex;
	flex-direction: column;
}

.migration-site-ssh__accordion-step {
	border-bottom: 1px solid var(--color-neutral-5, #dcdcde);
	transition: all 0.2s ease;

	&:last-child {
		border-bottom: none;
	}

	&.is-completed {
		.migration-site-ssh-accordion__icon-completed {
			color: var(--color-success, #00a32a);
		}
	}
}

.migration-site-ssh__accordion-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 0;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-align: left;

	&:disabled {
		cursor: default;
	}
}

.migration-site-ssh__accordion-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
}

.migration-site-ssh__accordion-status-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.migration-site-ssh__accordion-icon-container-completed {
	border: 0.1rem solid var(--color-success, #00a32a);
	border-radius: 50%;
	width: 15px;
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.migration-site-ssh__accordion-icon-pending {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-neutral-70, #646970);
}

.migration-site-ssh__accordion-icon-completed {
	color: var(--color-success, #00a32a);
}

.migration-site-ssh__accordion-title-text {
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: var(--color-neutral-70, #1d2327);
}

.migration-site-ssh__accordion-chevron {
	display: flex;
	align-items: center;
	color: var(--color-neutral-50, #646970);
	transition: transform 0.2s ease;
}

.migration-site-ssh__accordion-content {
	padding: 0 0 1.5rem 2.5rem;
	animation: migration-site-ssh-slideDown 0.2s ease;
	font-size: 0.875rem;
}

@keyframes migration-site-ssh__slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.migration-site-ssh__find-ssh-details-buttons {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.migration-site-ssh__no-ssh-link {
	text-decoration: none !important;
	.components-spinner {
		margin-top: 0;
	}
}

.migration-site-ssh__help-link {
	margin: 1rem 0;
	font-size: 0.875rem;

	.inline-support-link,
	a,
	a:visited {
		color: var(--color-neutral-70, #1d2327) !important;
		text-decoration: underline !important;
	}
}

.migration-site-ssh__step-add-server-address-form {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}

.migration-site-ssh__step-add-server-address-port-field {
	flex: 2;
}

.migration-site-ssh__step-add-server-address-server-address-field {
	flex: 4;
}

.migration-site-ssh__step-add-server-address-label {
	font-weight: 600;
	line-height: 1.25;
}

.migration-site-ssh__step-add-server-address-note {
	margin: 0.5rem 0 1rem 0;
	color: var(--studio-gray-50);
	font-size: 0.75rem;
}

.migration-site-ssh__continue-button {
	margin-left: 2.5rem;
	button {
		width: 100%;
		font-size: 1rem;
		padding: 1.5rem;
	}
}

.site-migration-ssh__step-share-ssh {
	&-description {
		margin-bottom: 1rem;
	}

	&-form {
		display: flex;
		flex-direction: column;
		gap: 16px;

		input.is-disabled {
			background-color: var(--studio-gray-0, #f0f0f0);
			border: 1px solid var(--color-neutral-5, #dcdcde) !important;
			border-color: var(--color-neutral-5, #dcdcde) !important;
			color: var(--color-neutral-70, #1d2327);
			cursor: default;
		}
	}

	&-label {
		display: block;
		font-weight: 600;
		margin-bottom: 0.5rem;
	}

	&-key-container {
		position: relative;
	}

	&-textarea {
		width: 100%;
		padding: 0.5rem 2.5rem 0.5rem 0.5rem;
		font-size: 0.75rem;
		line-height: 1.5;
		color: var(--color-neutral-70, #1d2327);
		background-color: var(--studio-gray-0, #f0f0f0);
		border: 1px solid var(--color-neutral-5, #dcdcde);
		border-radius: 4px;
		resize: none;
		outline: none;
		box-sizing: border-box;
		word-break: break-all;
	}

	&-username-container {
		position: relative;
	}

	&-username-field {
		input.is-disabled {
			padding-right: 2.5rem;
			background-color: var(--studio-gray-0, #f0f0f0);
			border: 1px solid var(--color-neutral-5, #dcdcde) !important;
			border-color: var(--color-neutral-5, #dcdcde) !important;
			color: var(--color-neutral-70, #1d2327);
			cursor: default;
		}
	}

	&-edit-button,
	&-copy-button {
		position: absolute;
		right: 0.5rem;
		padding: 0.25rem;
		background: transparent;
		box-shadow: none;

		&:hover,
		&:focus,
		&:active {
			background: transparent;
			border: none;
			box-shadow: none;
		}

		&.button.is-transparent {
			border: none;
		}
	}

	&-edit-button {
		bottom: 0.1875rem;
		right: 0.375rem;
		min-width: auto;
	}

	&-copy-button {
		top: 0.5rem;
	}

	&-help-text {
		margin-top: 0.25rem;
		font-size: 0.75rem;
		color: var(--color-neutral-50, #646970);
		line-height: 1.5;
	}
}

.site-migration-ssh__step-share-ssh-auth-method {
	margin-bottom: 1rem;
}